package com.lyw.springCloud.handler;

import cn.hutool.http.HttpRequest;
import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.lyw.springCloud.result.CommonResult;
import org.springframework.http.client.ClientHttpRequestExecution;

/**
 * @Auther liyawei
 * @Date 2022/5/18 18:12
 */
public class ExceptionUtil {

    public static CommonResult handleException1(BlockException exception) {
        return new CommonResult(4444, "客户自定义的全局异常 -------------- 1");
    }

    public static CommonResult handleException2(BlockException exception) {
        return new CommonResult(4444, "客户自定义的全局异常 -------------- 1");
    }
}
